public  class Sheep extends Animals {
    public Sheep(String name,int id){
        super(name,id);
        }

    @Override
    public  void eat() {
        System.out.println("eat grass");
    }
    @Override
    public void sleep()
        {
         System.out.println("I'm sleeping.");
        }

    @Override
    public void introduction() {

        System.out.println("My name is:"+name);
    }
    public String shout()
    {
        return "mie..";
    }
    public String toString()
    {
        return name+id;
    }
}